package com.itheima.sleep;

import java.time.LocalDateTime;

public class Demo01 {

    public static void main(String[] args) throws InterruptedException {
        LocalDateTime now = LocalDateTime.now();
        System.out.println(now);
        Thread.sleep(1000);
        LocalDateTime now2 = LocalDateTime.now();
        System.out.println(now2);



    }
}
